package cn.ym.ymcc.service;

import cn.ym.ymcc.domain.Config;
import cn.ym.ymcc.domain.Department;
import cn.ym.ymcc.query.ConfigQuery;
import cn.ym.ymcc.query.DepartmentQuery;
import cn.ym.ymcc.result.PageList;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-04
 */
public interface IDepartmentService extends IService<Department> {
    /**
     * 分页查询
     * @param query
     * @return
     */
    PageList<Department> queryPage(DepartmentQuery query);

    List<Department> deptTree();
}
